﻿@using Controllers
@{
    var func=new MyFunc();
}
@{var leftclass=@ViewBag.model.classid>0&&ViewBag.model.classid!=1?@ViewBag.model.classid:@ViewBag.model.ID;
var leftclassmodel=func.GetClass(leftclass);
}
<h1 class="tit_2 fs16 fb">@leftclassmodel.title</h1>
<ul class="nav_1">
@{var lists=func.GetCList(0,@leftclass);}

@for(var i=0;i<lists.Count;i++){	
  var item=lists[i];
  var url="/list/"+item.ID;
				<li><a href="@url" title="@item.title">@item.title</a></li>		
					}
</ul>
<h1 class="tit_2 fs16 fb mt10"><a href="/list/9">通知公告</a></h1>
<ul class="newl_2">
			@{var tzgg=func.GetList(8,9,"");}
		@for(var i=0;i<tzgg.Count;i++){	
		  var item=tzgg[i];
		  var url=string.IsNullOrEmpty(item.url)?"/article/"+item.ID:item.url;
		  var target=string.IsNullOrEmpty(item.url)?"_selft":"_blank";
						<li><a href="@url" title="@item.title" traget="@target">
							@(item.title.Length>20?item.title.Substring(0,20):item.title)</a></li>		
							}
</ul>
<ul class="nav_2 mt20 cl">
	<li class="first"><a href="#" class="jzxx">局长信箱</a></li>
	<li><a href="#" class="wsts">网上投诉</a></li>
	<li class="last"><a href="#" class="yjjy">意见建议</a></li>
</ul>

